
# script to tar-up a whole directory, also storing any attributes
# usage: quicktart directory
DIR="$1"
TARFILE="$DIR.tar"
AA="$DIR/.Attributes"

tar cf "$TARFILE" "$DIR"
tar tf "$TARFILE" | tart "$AA"
tar rf "$TARFILE" "$AA"

gzip "$TARFILE"

